package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Information implements Serializable {
    private String ino;

    private String tno;

    private String teaTno;

    private String ititle;

    private String icontent;

    private Date idate;

    private String itype;

    private static final long serialVersionUID = 1L;

    public String getIno() {
        return ino;
    }

    public void setIno(String ino) {
        this.ino = ino;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String getTeaTno() {
        return teaTno;
    }

    public void setTeaTno(String teaTno) {
        this.teaTno = teaTno;
    }

    public String getItitle() {
        return ititle;
    }

    public void setItitle(String ititle) {
        this.ititle = ititle;
    }

    public String getIcontent() {
        return icontent;
    }

    public void setIcontent(String icontent) {
        this.icontent = icontent;
    }

    public Date getIdate() {
        return idate;
    }

    public void setIdate(Date idate) {
        this.idate = idate;
    }

    public String getItype() {
        return itype;
    }

    public void setItype(String itype) {
        this.itype = itype;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Information other = (Information) that;
        return (this.getIno() == null ? other.getIno() == null : this.getIno().equals(other.getIno()))
            && (this.getTno() == null ? other.getTno() == null : this.getTno().equals(other.getTno()))
            && (this.getTeaTno() == null ? other.getTeaTno() == null : this.getTeaTno().equals(other.getTeaTno()))
            && (this.getItitle() == null ? other.getItitle() == null : this.getItitle().equals(other.getItitle()))
            && (this.getIcontent() == null ? other.getIcontent() == null : this.getIcontent().equals(other.getIcontent()))
            && (this.getIdate() == null ? other.getIdate() == null : this.getIdate().equals(other.getIdate()))
            && (this.getItype() == null ? other.getItype() == null : this.getItype().equals(other.getItype()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIno() == null) ? 0 : getIno().hashCode());
        result = prime * result + ((getTno() == null) ? 0 : getTno().hashCode());
        result = prime * result + ((getTeaTno() == null) ? 0 : getTeaTno().hashCode());
        result = prime * result + ((getItitle() == null) ? 0 : getItitle().hashCode());
        result = prime * result + ((getIcontent() == null) ? 0 : getIcontent().hashCode());
        result = prime * result + ((getIdate() == null) ? 0 : getIdate().hashCode());
        result = prime * result + ((getItype() == null) ? 0 : getItype().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ino=").append(ino);
        sb.append(", tno=").append(tno);
        sb.append(", teaTno=").append(teaTno);
        sb.append(", ititle=").append(ititle);
        sb.append(", icontent=").append(icontent);
        sb.append(", idate=").append(idate);
        sb.append(", itype=").append(itype);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}